﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace QuizNet
{
    public class QuizApplication
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        //[STAThread]
        public static QuizApplication QuizApp;
        private frmMain mfrmMain;
        public frmMain FormMain
        {
            get { return mfrmMain; }
        }
        public QuizApplication()
        {
            if (mfrmMain==null)
            {
                mfrmMain = new frmMain();
				mfrmMain.WindowState=FormWindowState.Maximized;
            }
        }
        static void Main()
        {
           // Application.EnableVisualStyles();
           // Application.SetCompatibleTextRenderingDefault(false);
           // Application.Run(new frmMain());
            QuizApp = new QuizApplication();
            Application.Run(QuizApp.FormMain);
        }
    }
}
